package cn.hznc.repository;

import cn.hznc.domain.entity.ICabinetRecordEntity;
import cn.hznc.domain.entity.IcabinetConfigEntity;
import cn.hznc.domain.entity.ToolParamCacheEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @Author：Administrator
 * @Date：2023/9/19 17:41
 */
public interface ToolParamCacheRepository {


    ToolParamCacheEntity selectParamByToolNo(@Param("toolNo") String toolNo , @Param("date") String date);

    ICabinetRecordEntity getDateByType(@Param("type") String type);

    void updateRecordSelectedFlag(@Param("id") Integer id ,@Param("flag")Integer flag ,@Param("selectedSubprogram") String selectedSubprogram);

    ToolParamCacheEntity getBySelectedFlag(@Param("toolNo") String toolNo,@Param("date") String date,@Param("selectedSubprogram") String selectedSubprogram);

}
